package cn.ulc.socket.admin.service.site;
import cn.ulc.common.constant.enums.AvailableStatus;
import cn.ulc.common.model.param.PaginationParam;
import cn.ulc.socket.admin.model.dto.site.CityListDTO;
import cn.ulc.socket.admin.model.dto.site.SiteDTO;
import cn.ulc.socket.admin.model.dto.site.SiteListDTO;
import cn.ulc.socket.admin.model.param.site.SiteParam;

public interface SiteServ {

    SiteListDTO findList(String key,String cityCode,PaginationParam param);

    SiteDTO findDetail(Long id);

    Boolean save(SiteParam param);

    Boolean update(Long id,SiteParam param);

    Long delete(Long id);

    CityListDTO findCityList();


    Boolean changeStatus(Long id, AvailableStatus status);
    Boolean changeDefault(Long id);
}
